AT+IPR allows to query and set the bitrate of the local asynchronous serial interfaces between TC65 and TA.
The test command returns the values of supported automatically detectable bitrates and the values of the supported fixed bitrates.
The read command returns the current bitrate of the interface.
The write command specifies the bitrate to be used for the interface. Delivery bitrate value (
<rate>) is 115200bps on ASC0 and 115200bps on ASC1. This will not be restored with
AT&F. If you set a fixed rate, make sure that both TC65 and TA are configured to the same rate. A selected bitrate takes effect after the write commands returns OK, and the setting is stored in non-volatile memory. Using a minimum bitrate of 9600 bps is recommended. The current setting of
AT+IPR will be preserved when you download firmware (i.e. a firmware update does not restore the factory setting) or in the event of power failure.
However, in case of autobaud mode (
AT+IPR=0) the detected TA bitrate will not be saved and, therefore, needs to be resynchronized after any restart of the ME (for details refer Section
4.9.1, Autobauding).
In Multiplex mode the write command will not change the bitrate currently used, but the new bitrate will be stored and becomes active, when the module is restarted.
If Java is running, the firmware will ignore any settings made with
AT+IPR. Responses to the read, write or test command will be invalid or deliver "ERROR". Also refer "TC65 Java User's Guide"
[4], Section "Configuring serial interface".
Generally,
AT+IPR should be used as a standalone command. If nevertheless combinations with other commands on the same command line cannot be avoided, there are several constraints to be considered: